package com.huangwenshuo.futurestarschoolmanagement.service;


import com.baomidou.mybatisplus.extension.service.IService;

import com.huangwenshuo.futurestarschoolmanagement.pojo.dto.CommentDto;
import com.huangwenshuo.futurestarschoolmanagement.pojo.dto.ReplyDto;
import com.huangwenshuo.futurestarschoolmanagement.pojo.po.Comment;
import com.huangwenshuo.futurestarschoolmanagement.pojo.vo.CommentVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huangwenshuo
 * @since 2021-03-20
 */
public interface CommentService extends IService<Comment> {

    List<CommentVo> getComByAid(Integer aid);

    void discuss(CommentDto commentDto);

    Map<String, Object> getCommentList(Integer page, Integer rows);

    Map<String, Object> getReplyList(ReplyDto replyDto);

    void del(Integer cid, Integer rid);
}
